{extend name="admin@public/base" /}
{block name="main-content"}
<link rel="stylesheet" type="text/css" href="__PUBLIC__/jQuery-Validation-Engine-2.6.2-ciaoca/css/validationEngine.jquery.css">
<script type="text/javascript" src="__PUBLIC__/jQuery-Validation-Engine-2.6.2-ciaoca/js/jquery.validationEngine-zh_CN.js"></script>
<script type="text/javascript" src="__PUBLIC__/jQuery-Validation-Engine-2.6.2-ciaoca/js/jquery.validationEngine.min.js"></script>
<div class="page-content">
    <!--主题-->
    <div class="page-header">
        <h1>
            您当前操作
            <small>
                <i class="ace-icon fa fa-angle-double-right"></i>
                修改密码
            </small>
        </h1>
    </div>
    <div class="row">
        <div class="col-xs-12">
            <form class="form-horizontal ajaxForm" name="" method="post" action="{:url('admin/Admin/do_password_edit')}">
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 原密码： </label>
                    <div class="col-sm-9">
                        <input type="password" name="old" placeholder="请输入原密码" autocomplete="off" class="col-xs-10 col-sm-5 validate[required]"/><span class="lbl">&nbsp;&nbsp;<span class="red">*</span>必填</span>

                    </div>
                </div>
                <div class="space-4"></div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">新密码： </label>
                    <div class="col-sm-9">
                        <input type="password" name="new" placeholder="请输入新密码" class="col-xs-10 col-sm-5 validate[required]"/><span class="lbl">&nbsp;&nbsp;<span class="red">*</span>必填(6-16数字、字母)</span>
                    </div>
                </div>
                <div class="space-4"></div>
                <div class="form-group">
                    <label class="col-sm-3 control-label no-padding-right" for="form-field-1">确认密码： </label>
                    <div class="col-sm-9">
                        <input type="password" name="re_new" autocomplete="off" placeholder="再次输入新密码" class="col-xs-10 col-sm-5 validate[required]"/><span class="lbl">&nbsp;&nbsp;<span class="red">*</span>必填</span>
                    </div>
                </div>
                <div class="space-4"></div>
                <div class="clearfix form-actions">
                    <div class="col-md-offset-3 col-md-9">
                        <button class="btn btn-info" type="submit">
                            <i class="ace-icon fa fa-check bigger-110"></i>
                            保存
                        </button>
                        &nbsp; &nbsp; &nbsp;
                        <button class="btn" type="reset">
                            <i class="ace-icon fa fa-undo bigger-110"></i>
                            重置
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div><!-- /.page-content -->
{/block}
{block name="scripts"}
<script type="text/javascript">
    $('.form-horizontal').validationEngine('attach',{
        promptPosition: 'bottomLeft',
        addPromptClass: 'formError-white',
        showOneMessage: true
    });
</script>
{/block}
